package com.hy.admin.dao;

import com.hy.admin.entity.PayOrderEntity;
import com.hy.admin.helper.request.PayOrderByParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Created by wayne on 18/4/20.
 */
@Repository
public interface PayOrderDao {
    int save(PayOrderEntity payOrder);

    int updateStatusByOutOrderNo(@Param("outOrderNo") String outOrderNo, @Param("orgId") String orgId, @Param("status") int status);

    int update(PayOrderEntity payOrder);

    PayOrderEntity selectOneByParam(PayOrderByParam payOrderByParam);
}
